Memory Error

by: Manish, 7 years ago


training_set = featuresets[:1400]

I don't think the above stated training set has too many words in there
It still gives me this error

Traceback (most recent call last):
  File "D:STCLtryingsentiment_rev.py", line 1, in <module>
    import t19 as t
  File "D:STCLtryingt19.py", line 104, in <module>
    LinearSVC_classifier.train(training_set)
  File "C:Python27libsite-packagesnltkclassifyscikitlearn.py", line 115, in train
    X = self._vectorizer.fit_transform(X)
  File "C:Python27libsite-packagessklearnfeature_extractiondict_vectorizer.py", line 231, in fit_transform
    return self._transform(X, fitting=True)
  File "C:Python27libsite-packagessklearnfeature_extractiondict_vectorizer.py", line 173, in _transform
    values.append(dtype(v))
MemoryError



You must be logged in to post. Please login or register an account.



MemoryError almost always means you ran out of memory (RAM)

-Harrison 7 years ago

You must be logged in to post. Please login or register an account.